#include <stdio.h>

int main(){
    double num[7];
    for (int i = 0; i < 7; i++){
        scanf("%lf", &num[i]);
    }
    double sum = 0;
    for (int i = 0; i < 7; i++){
        double temp = (int) num[i];
        sum += num[i] - temp;
    }
    printf("money=%.2lf", sum);
    return 0;
}
